package br.edu.ifrn.potigol.lang.nodes;

import br.edu.ifrn.potigol.lang.Context;
import br.edu.ifrn.potigol.lang.PotigolException;
import br.edu.ifrn.potigol.lang.PotigolObject;

public class LiteralNode extends Node {
  PotigolObject value;
  
  public LiteralNode(PotigolObject value) {
    this.value = value;
  }
  
  public PotigolObject eval(Context context) throws PotigolException {
    return value;
  }
}